<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>种类列表</title>
    <bootstrapcss />
</head>
<body>
    <table class="table table-bordered table-striped table-hover table-condensed">
        <thead>
        <tr>
            <th width="10%">id</th>
            <th width="20%">种类名</th>
            <th width="15%">操作</th>
        </tr>
        </thead>
        <foreach name="data" item="v">
            <tr>
                <td>{$v['kind_id']}</td>
                <td>{$v['kind_name']}</td>
                <td>
                    <a href="{:U('Admin/Zykind/edit',array('kind_id'=>$v['kind_id']))}">修改</a> |
                    <a href="javascript:if(confirm('确定要删除吗?')) location='{:U('Admin/Recycle/recycle',array('table_name'=>'zykind','id_name'=>'kind_id','id_number'=>$v['kind_id']))}'">删除</a>
                </td>
            </tr>
        </foreach>
    </table>
    <bootstrapjs />
</body>
</html>
